package hlhj.fhp.checkpoint.presenter

import android.content.Context
import com.example.mymvp.mvp.BasePresenter
import hlhj.fhp.checkpoint.iview.ActiveView
import hlhj.fhp.checkpoint.module.ActiveModule

/**
 * Created by Never Fear   on 2018\11\28 0028.
Never More....
 */
class ActivePresenter :BasePresenter<ActiveModule,ActiveView>(), ActiveView {
    override fun setActiveOrderSign(beanStr: String) {
        view?.setActiveOrderSign(beanStr)
    }

    fun getActiveOrderSign(type:Int,c:Context){
        module?.getActivePayOrder(type, c)
    }
    override fun createModule() {
        module= ActiveModule()
        module.listener=this
    }
}